// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Axios from './axios'
import store from './store/index'
import axios from 'axios'
import  filters from './filter'
import YDUI from 'vue-ydui'
// import { Toast, Notify, Loading } from 'vue-ydui/dist/lib.rem/dialog';
import './assets/css/base.css'
import 'vue-ydui/dist/ydui.rem.css';
for (var key in filters){
   Vue.filter(key, filters[key])
}
Vue.use(YDUI);
Vue.config.productionTip = false
// Vue.prototype.$loading = Loading
// Vue.prototype.$toast = Toast
// Vue.prototype.$notify = Notify
// 挂载AXIOS原型
// 一些三方接口需要 原生axios去请求
Vue.prototype.axios = axios


Vue.prototype.Apost = Axios

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>',

})

